package com.gl.user.api;

import com.cloud.utils.ResultHelper;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;


/**
 * @author tianhei
 */
@FeignClient(value = "user-center")
public interface IUserApi {


    @RequestMapping("/user/o/username")
    ResultHelper findByUsername(@RequestParam("username") String id);




}

